<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<button id="test">Layer测试</button>
		
		<script src="../js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/layer/layer.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/my.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/mylayer.js" type="text/javascript" charset="utf-8"></script>
		
		<script type="text/javascript">
			window.onload = function() {
				
			}
			
			$(function() {
				
			});
			
			layer.ready(function() {
				$('#test').on('click', function(){
					console.log(stu.name);
					stu.print();
								
					/* layer.alert(
						'这是一个严重的错误',
						{icon : 2},
						function(index) {
							console.log(index);
							layer.close(index);
						}
					); */
								
					// mylayer.alert('这是一个严重的警告');
					
					// mylayer.confirm('您确认要删除么？', 'http://www.baidu.com');
					
					// mylayer.okMsg('删除成功');
					
					mylayer.okUrl('删除成功,跳转到列表界面', 'http://www.baidu.com');
				});
			});
			
		</script>
		
	</body>
</html>
